package com.atguigu.guli.service.edu.entity.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

public class TeacherQuery {

    @ApiModelProperty(value = "讲师姓名")
    private String name;

    @ApiModelProperty(value = "头衔 1高级讲师 2首席讲师")
    private Integer level;

    @ApiModelProperty(value = "入驻时间")
    private String joinDateBegin;

    @ApiModelProperty(value = "入驻时间")
    private String joinDateEnd;

    public TeacherQuery() {
    }

    public TeacherQuery(String name, Integer level, String joinDateBegin, String joinDateEnd) {
        this.name = name;
        this.level = level;
        this.joinDateBegin = joinDateBegin;
        this.joinDateEnd = joinDateEnd;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getJoinDateBegin() {
        return joinDateBegin;
    }

    public void setJoinDateBegin(String joinDateBegin) {
        this.joinDateBegin = joinDateBegin;
    }

    public String getJoinDateEnd() {
        return joinDateEnd;
    }

    public void setJoinDateEnd(String joinDateEnd) {
        this.joinDateEnd = joinDateEnd;
    }

    @Override
    public String toString() {
        return "TeacherQuery{" +
                "name='" + name + '\'' +
                ", level=" + level +
                ", joinDateBegin='" + joinDateBegin + '\'' +
                ", joinDateEnd='" + joinDateEnd + '\'' +
                '}';
    }
}
